package com.example.webservice.server;

import com.example.webservice.entity.User;
import org.springframework.http.MediaType;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import java.util.List;

/**
 *
 *@author： 彭长云
 * @Description:webservice接口
 * @date： 2019/1/7 16:55
 * @param：
 * @return：
 */
@WebService(name = "TestService",
targetNamespace = "http://com.example.webservice")
public interface TestService {

    @WebResult(name = "result")
    String login(@WebParam String name,@WebParam String pwd);

    @WebResult(name = "result")
    String getUserList();

    @WebResult(name = "result")
    String getihbed(@WebParam  String date);

}
